package com.study.echarts.domain;

/**
 * 部门用户数量统计实体类
 */
public class DeptUserCount {
    private String deptName;
    private Integer userCount;

    // 构造方法
    public DeptUserCount(String deptName, Integer userCount) {
        this.deptName = deptName;
        this.userCount = userCount;
    }
    @Override
    public String toString() {
        return "DeptUserCount{" +
                "deptName='" + deptName + '\'' +
                ", userCount=" + userCount +
                '}';
    }
    // Getter 和 Setter 方法
    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public Integer getUserCount() {
        return userCount;
    }

    public void setUserCount(Integer userCount) {
        this.userCount = userCount;
    }
}
